<template>
  <ScrollView ref="scroll">
    <div>123</div>
  </ScrollView>
</template>

<script>
import ScrollView from '@/components/ScrollView'
export default {
  data() {
    return {}
  },
  components: {
    ScrollView
  },
  methods: {
    pulldown() {
      setTimeout(() => {
        this.$refs.scroll.finishPullDown()
      },2000)
    },
    pullup() {
      setTimeout(() => {
        this.$refs.scroll.finishPullUp()
      },2000)
    }
  }
}
</script>

<style lang='scss'>
</style>
